package top.ajun.mall.product.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import top.ajun.mall.product.entity.AttrAttrgroupRelationEntity;

import java.util.List;

/**
 * 属性&属性分组关联
 *
 * @author AJun
 * @email 1241088536@qq.com
 * @date 2020-11-24 21:32:20
 */
@Mapper
public interface AttrAttrgroupRelationDao extends BaseMapper<AttrAttrgroupRelationEntity> {

    /**
     * 批量删除属性和分组的关联关系
     */
    void deleteBatchRelations(@Param("relations") List<AttrAttrgroupRelationEntity> relations);

}
